<html>
<head><meta charset="utf-8"><title>Completion End At Position · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20End.20At.20Position.html">Completion End At Position</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="186852284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Completion%20End%20At%20Position/near/186852284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Kevin DeLorey <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Completion.20End.20At.20Position.html#186852284">(Jan 29 2020 at 03:06)</a>:</h4>
<p>I'm working on a completion and I was curious how I signal the position where I want the cursor to end at? I thought that's what <code>$0</code> in the <code>insert_text</code>  was doing in some of the other completions, but it seems to actually write out <code>$0</code> when I execute my completion.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>